/*
    一键告警弹窗
 */
.ly {
  .a-dialog {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    opacity: 0;
    pointer-events: none;
  }
  .a-dialog.open {
    opacity: 1;
    pointer-events: auto;
  }

  .a-dialog-bg {
    width: 756px;
    left: calc((100% - 756px)/2);
    background: rgba(3,34,69,0.7);
    box-shadow: 0px 3px 10px 4px rgba(0,0,0,0.09), 0px 2px 4px 0px rgba(0,0,0,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    position: absolute;
    padding: 12px;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
  }
  .a-dialog-bg .bg-top:first-child:before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    border-left: 0;
    border-top: 0;
    width: 22px;
    height: 22px;
    z-index: -1;
  }

  .a-dialog-bg .bg-top:first-child:after {
    content: "";
    position: absolute;
    right: -1px;
    top: -1px;
    border-right: 0;
    border-top: 0;
    width: 22px;
    height: 22px;
    z-index: -1;
  }

  .a-dialog-bg .bg-btm:last-child:before {
    content: "";
    position: absolute;
    left: -1px;
    bottom: -1px;
    border-left: 0;
    border-bottom: 0;
    width: 22px;
    height: 22px;
    z-index: -1;
  }

  .a-dialog-bg .bg-btm:last-child:after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    border-right: 0;
    border-bottom: 0;
    width: 22px;
    height: 22px;
    z-index: -1;
  }
  .a-dialog-body {
    width: 100%;
    height: 100%;
    background: none;
    overflow: hidden;
  }

  .a-dialog-head {
    height: 56px;
    line-height: 56px;
    padding: 0 4px;
    font-size: 16px;
    color: #faad14;
    margin-bottom: 5px;
    span {
      display: block;
      padding: 0 20px;
      height: 40px;
      line-height: 40px;
    }
    .bottom-line {
      margin: 0;
      width: 100%;
      height: 0px;
      top: 10px;
      border-bottom: 1px solid #0dc985;
      position: relative;
      &:before {
        content: "";
        width: 5px;
        height: 5px;
        left: 0;
        border-radius: 50%;
        position: absolute;
        bottom: -3px;
        background: #0dc985;
      }
      &:after {
        content: "";
        right: 0;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        position: absolute;
        bottom: -3px;
        background: #0dc985;
      }
    }
  }

  .a-dialog-head i {
    display: none;
    text-shadow: none;
  }
  .a-dialog-head1 {
    height: 38px;
    line-height: 38px;
    padding: 0 30px;
    font-size: 16px;
    color: #faad14;
    margin-bottom: 5px;
    .bottom-line {
      margin: 0px 10px 15px -10px;
      width: calc(100% + 24px);
      height: 5px;
      border-bottom: 1px solid #0dc985;
      position: relative;
      &:before {
        content: "";
        width: 5px;
        height: 5px;
        left: 0;
        border-radius: 50%;
        position: absolute;
        bottom: -3px;
        background: #0dc985;
      }
      &:after {
        content: "";
        right: 0;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        position: absolute;
        bottom: -3px;
        background: #0dc985;
      }
    }
  }
  .a-dialog-head .close {
    // float: right;
    // margin: 13px -18px 0 0;
    // cursor: pointer;
    // display: block;
    // width: 30px;
    // height: 30px;
    // text-align: center;
    // line-height: 30px;
    // overflow: hidden;
    // color: #d2ffef;
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    font-size: 8px;
    background: #c7f1e0;
    font-weight: bold;
    color: #5e5e5e;
    position: absolute;
    top: -11px;
    right: -11px;
    margin: 0;
    cursor: pointer;
  }

  .a-dialog-con {
    padding: 10px 10px 0;
    overflow: hidden;
  }

  .a-dialog-con .el-row {
    margin-bottom: 26px;
  }
  .pic-upload {
    margin: 0 10px 0 20px;
  }
  .a-dialog {
    .v-input {
      width: calc(100% - 30px);
      display: block;
      float: left;
      height: 30px;
      line-height: 30px;
      outline: none;
      color: #fff;
      padding: 0 12px;
      font-size: 14px;
      //margin-left: 10px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    .v-input::-webkit-input-placeholder {
      color: #ffffff;
    }

    .v-input::-moz-placeholder {
      color: #ffffff;
    }

    .v-textarea {
      width: calc(100% - 30px);
      display: block;
      float: left;
      height: 60px;
      line-height: 22px;
      outline: none;
      color: #d2ffef;
      padding: 4px 12px;
      font-size: 14px;
      margin-left: 20px;
      resize: none;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    .v-textarea::-webkit-input-placeholder {
      color: #ffffff;
    }

    .v-textarea::-moz-placeholder {
      color: #ffffff;
    }
    .el-select .el-input .el-select__caret {
      color: #fff !important;
      font-size: 8px;
      line-height: 30px;
    }
  }

  .btns {
    text-align: center;
    margin-top: 16px;
  }

  .btns .btn {
    display: inline-block;
    height: 32px;
    text-align: center;
    line-height: 30px;
    margin: 0 12px;
    position: relative;
    z-index: 2;
    color: #0db87e;
    font-size: 16px;
    background: rgba(13,201,133,0.2);
    border-radius: 16px;
    border: 1px solid rgba(13,201,133,0.6);
    background-size: 100% 100%;
    cursor: pointer;
    padding: 0 20px;
  }

  .btns .btn.cancel {
    opacity: 0.6;
  }

  .el-select .el-input--mini .el-input__inner {
    height: 30px;
    line-height: 30px;
    outline: none;
    color: #fff;
    padding: 0 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
  input::-webkit-input-placeholder {
    color: #285d49;
  }
  input::-moz-placeholder {
    color: #285d49;
  }
  input::-moz-placeholder {
    color: #285d49;
  }

  .el-select input::-webkit-input-placeholder {
    color: #fff;
  }

  .el-select input::-moz-placeholder {
    color: #fff;
  }

  .el-select input::-ms-input-placeholder {
    color: #fff;
  }
  .el-date-editor .el-input__inner {
    height: 30px;
    line-height: 30px;
    outline: none;
    color: #fff;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
  .label {
    color: #d5fff0;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    float: right;
  }

  .pic-upload .el-upload--picture-card {
    width: 62px;
    height: 62px;
    line-height: 66px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .pic-upload .el-upload--picture-card i {
    color: #fff;
    font-size: 24px;
  }

  .pic-upload .el-upload-list--picture-card .el-upload-list__item {
    width: 62px;
    height: 62px;
    line-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 0;
  }

  .pic-upload .el-upload-list--picture-card .el-upload-list__item i {
    color: #fff;
    font-size: 14px;
  }
  @media screen and (max-width: 1366px) {
    .a-dialog-bg {
      width: 774px;
      height: 598px;
      top: calc(50% - 299px);
      left: calc(50% - 387px);
    }
    .a-dialog-con .el-row {
      margin-bottom: 20px;
    }
  }

  .el-date-editor  .el-input__icon {
    color: #ffffff;
  }
}
